<?php
$setting = mysqld_select("SELECT * FROM " . table('addon7_config'));
if (checksubmit("submit")) {
    $cfg = array(
        'title' => $_GP['title']
    );
    mysqld_delete('addon7_config', array());
    mysqld_insert('addon7_config', $cfg);
    message('保存成功', 'refresh', 'success');
}
include addons_page('setting');